package com.demo.service;

import com.demo.pojo.Admin;
import com.demo.pojo.User;

public interface AdminService {
    Admin selectAdminByName(String adminname);

    int adminAddUser(User user);

    int adminUpdateUser(User user);

    int updateAdmin(Admin admin);

    int adminDeleteUserByName(String username);

    User adminSelectUserByName(String username);
}
